Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wasm to content security policy for web ssh terminal #48849

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

avatus
Copy link
Contributor

@avatus avatus commented Nov 12, 2024

Without this, wasm modules imported by xtermjs cannot function. This follows the same policy as web desktop sessions.

#48780 requires this to function (it is available in the vite dev server which is why it wasn't caught until backports).

I will manually add this change to the already open backports

Without this, wasm modules imported by xtermjs cannot function. This
follows the same policy as web desktop sessions
@avatus avatus added the no-changelog Indicates that a PR does not require a changelog entry label Nov 12, 2024
@avatus avatus requested review from kimlisa, ryanclark and rudream and removed request for r0mant and bernardjkim November 12, 2024 23:52
@avatus avatus added this pull request to the merge queue Nov 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 13, 2024
@avatus avatus added this pull request to the merge queue Nov 13, 2024
Merged via the queue into master with commit 3a65e3e Nov 13, 2024
41 of 42 checks passed
@avatus avatus deleted the avatus/ssh_wasm_csp branch November 13, 2024 16:22
avatus added a commit that referenced this pull request Nov 13, 2024
Without this, wasm modules imported by xtermjs cannot function. This
follows the same policy as web desktop sessions
github-merge-queue bot pushed a commit that referenced this pull request Nov 13, 2024
* Add xterm/image-addon to web terminal

This allows the terminal in the web UI to "pretty print" images based on
the supported protocols (SIXEL and IIP)

* Add wasm to content security policy for web ssh terminal (#48849)

Without this, wasm modules imported by xtermjs cannot function. This
follows the same policy as web desktop sessions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants